#include "orderdialog.h"
#include "ui_orderdialog.h"

OrderDialog::OrderDialog(QueryResult* res,OneWayDelegate* de,QList<User>u,QWidget *parent)
    : QDialog(parent)
    , ui(new Ui::OrderDialog)
{
    //this->hide();
    ui->setupUi(this);
    ui->frame->setResult(res,de);
    this->Users = u;
    this->show();
}
OrderDialog::~OrderDialog()
{
    delete ui;
}
